const asyncRead = require('./asyncRead');

const test = async () => {
  try {
    console.log('begin test');
    const data = await asyncRead('testfs');
    console.log('asyncRead ok :', data);
  } catch (err) {
    console.log('asyncRead err :', err);
  }
};

const a =  test();
console.log('test end');
